//输入框组件接收类型
export interface InputProps {
    modelValue?:string,
    type?: string,
    size?: 'large'|'small'
    disabled?: boolean,
    clearable?: boolean,
    showPassword?: boolean,
    placeholder?: string,
    readonly?: boolean,
    autocomplete?: string,
    autofocus?: boolean,
    form?: string,
    
}

export interface InputEmits {
    (e:'update:modelValue', value:string): void,
    (e:'input', value:string): void,
    (e:'focus', value:FocusEvent):void,
    (e:'blur', value:FocusEvent):void,
    (e:'change',value:string):void
    (e:'clear'): void,
}
export interface InputInstance {
    ref: HTMLInputElement | HTMLTextAreaElement
}